package com.dinggao.crossgo.module.roadbook.data;

import java.util.List;

/**
 * created by mapingan on 2018/8/23.
 */
public class ParentDetailsBean {


    /**
     * code : 0
     * message : success
     * data : {"trackInfoList":[{"path":[{"latitude":36.670488,"longitude":117.132564},{"latitude":36.670488,"longitude":117.132564},{"latitude":36.670488,"longitude":117.132564},{"latitude":36.670433,"longitude":117.132563},{"latitude":36.670433,"longitude":117.132563},{"latitude":36.670433,"longitude":117.132563},{"latitude":36.670464,"longitude":117.132525},{"latitude":36.670464,"longitude":117.132525},{"latitude":36.670471,"longitude":117.132494},{"latitude":36.670452,"longitude":117.13246},{"latitude":36.670484,"longitude":117.132429},{"latitude":36.670484,"longitude":117.132429},{"latitude":36.670399,"longitude":117.132496},{"latitude":36.670399,"longitude":117.132496},{"latitude":36.670445,"longitude":117.132495},{"latitude":36.670444,"longitude":117.132466},{"latitude":36.670444,"longitude":117.132466},{"latitude":36.670473,"longitude":117.132517},{"latitude":36.670476,"longitude":117.132509},{"latitude":36.670476,"longitude":117.132509},{"latitude":36.670481,"longitude":117.132508},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497}],"distance":"1.7Km","id":418}],"roadBookJournalList":{"slider":[1],"hasPrePage":false,"startRow":1,"offset":0,"lastPage":true,"prePage":1,"hasNextPage":false,"nextPage":1,"endRow":2,"totalCount":2,"firstPage":true,"totalPages":1,"limit":10,"page":1,"items":[{"attachments":[{"attachmentPath":"/img/pic/roadBookJournal/2dbe0e7c9f0144a6869379bfd7bb28f9.jpg","objectId":1276},{"attachmentPath":"/img/pic/roadBookJournal/ac523e4becd34fb2a389ccd68cd3adea.jpg","objectId":1276}],"attachmentSize":2,"tab":"营地区,停车区","latitude":36.6706,"location":"山东省济南市历下区舜华西路","id":1276,"time":"08/29 15:45","content":"","praise":"0","longitude":117.133,"discuss":"0"},{"attachments":[{"attachmentPath":"/img/pic/roadBookJournal/f8e1a548cb6841a0a3665ab91ecd704d.jpeg","objectId":1275},{"attachmentPath":"/img/pic/roadBookJournal/2243d4328efa47cca41f82fd569f5b8b.jpeg","objectId":1275}],"attachmentSize":2,"tab":"营地区,停车区","latitude":36.6706,"location":"山东省济南市历下区舜华西路","id":1275,"time":"08/29 15:44","content":"","praise":"0","longitude":117.133,"discuss":"0"}]},"isPraised":false,"role":"","headLog":"","praiseCount":0,"creatorName":"15506452009","hasCollected":false,"title":"发布周三14.45","discussCount":0,"car":"自由人","collectionCount":0,"share":0,"id":111}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * trackInfoList : [{"path":[{"latitude":36.670488,"longitude":117.132564},{"latitude":36.670488,"longitude":117.132564},{"latitude":36.670488,"longitude":117.132564},{"latitude":36.670433,"longitude":117.132563},{"latitude":36.670433,"longitude":117.132563},{"latitude":36.670433,"longitude":117.132563},{"latitude":36.670464,"longitude":117.132525},{"latitude":36.670464,"longitude":117.132525},{"latitude":36.670471,"longitude":117.132494},{"latitude":36.670452,"longitude":117.13246},{"latitude":36.670484,"longitude":117.132429},{"latitude":36.670484,"longitude":117.132429},{"latitude":36.670399,"longitude":117.132496},{"latitude":36.670399,"longitude":117.132496},{"latitude":36.670445,"longitude":117.132495},{"latitude":36.670444,"longitude":117.132466},{"latitude":36.670444,"longitude":117.132466},{"latitude":36.670473,"longitude":117.132517},{"latitude":36.670476,"longitude":117.132509},{"latitude":36.670476,"longitude":117.132509},{"latitude":36.670481,"longitude":117.132508},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497}],"distance":"1.7Km","id":418}]
         * roadBookJournalList : {"slider":[1],"hasPrePage":false,"startRow":1,"offset":0,"lastPage":true,"prePage":1,"hasNextPage":false,"nextPage":1,"endRow":2,"totalCount":2,"firstPage":true,"totalPages":1,"limit":10,"page":1,"items":[{"attachments":[{"attachmentPath":"/img/pic/roadBookJournal/2dbe0e7c9f0144a6869379bfd7bb28f9.jpg","objectId":1276},{"attachmentPath":"/img/pic/roadBookJournal/ac523e4becd34fb2a389ccd68cd3adea.jpg","objectId":1276}],"attachmentSize":2,"tab":"营地区,停车区","latitude":36.6706,"location":"山东省济南市历下区舜华西路","id":1276,"time":"08/29 15:45","content":"","praise":"0","longitude":117.133,"discuss":"0"},{"attachments":[{"attachmentPath":"/img/pic/roadBookJournal/f8e1a548cb6841a0a3665ab91ecd704d.jpeg","objectId":1275},{"attachmentPath":"/img/pic/roadBookJournal/2243d4328efa47cca41f82fd569f5b8b.jpeg","objectId":1275}],"attachmentSize":2,"tab":"营地区,停车区","latitude":36.6706,"location":"山东省济南市历下区舜华西路","id":1275,"time":"08/29 15:44","content":"","praise":"0","longitude":117.133,"discuss":"0"}]}
         * isPraised : false
         * role :
         * headLog :
         * praiseCount : 0
         * creatorName : 15506452009
         * hasCollected : false
         * title : 发布周三14.45
         * discussCount : 0
         * car : 自由人
         * collectionCount : 0
         * share : 0
         * id : 111
         */

        private RoadBookJournalListBean roadBookJournalList;
        private boolean isPraised;
        private String role;
        private String headLog;
        private int praiseCount;
        private String creatorName;
        private boolean hasCollected;
        private String title;
        private int discussCount;
        private String car;
        private int collectionCount;
        private int share;
        private int id;
        private List<TrackInfoListBean> trackInfoList;

        public RoadBookJournalListBean getRoadBookJournalList() {
            return roadBookJournalList;
        }

        public void setRoadBookJournalList(RoadBookJournalListBean roadBookJournalList) {
            this.roadBookJournalList = roadBookJournalList;
        }

        public boolean isIsPraised() {
            return isPraised;
        }

        public void setIsPraised(boolean isPraised) {
            this.isPraised = isPraised;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public String getHeadLog() {
            return headLog;
        }

        public void setHeadLog(String headLog) {
            this.headLog = headLog;
        }

        public int getPraiseCount() {
            return praiseCount;
        }

        public void setPraiseCount(int praiseCount) {
            this.praiseCount = praiseCount;
        }

        public String getCreatorName() {
            return creatorName;
        }

        public void setCreatorName(String creatorName) {
            this.creatorName = creatorName;
        }

        public boolean isHasCollected() {
            return hasCollected;
        }

        public void setHasCollected(boolean hasCollected) {
            this.hasCollected = hasCollected;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getDiscussCount() {
            return discussCount;
        }

        public void setDiscussCount(int discussCount) {
            this.discussCount = discussCount;
        }

        public String getCar() {
            return car;
        }

        public void setCar(String car) {
            this.car = car;
        }

        public int getCollectionCount() {
            return collectionCount;
        }

        public void setCollectionCount(int collectionCount) {
            this.collectionCount = collectionCount;
        }

        public int getShare() {
            return share;
        }

        public void setShare(int share) {
            this.share = share;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public List<TrackInfoListBean> getTrackInfoList() {
            return trackInfoList;
        }

        public void setTrackInfoList(List<TrackInfoListBean> trackInfoList) {
            this.trackInfoList = trackInfoList;
        }

        public static class RoadBookJournalListBean {
            /**
             * slider : [1]
             * hasPrePage : false
             * startRow : 1
             * offset : 0
             * lastPage : true
             * prePage : 1
             * hasNextPage : false
             * nextPage : 1
             * endRow : 2
             * totalCount : 2
             * firstPage : true
             * totalPages : 1
             * limit : 10
             * page : 1
             * items : [{"attachments":[{"attachmentPath":"/img/pic/roadBookJournal/2dbe0e7c9f0144a6869379bfd7bb28f9.jpg","objectId":1276},{"attachmentPath":"/img/pic/roadBookJournal/ac523e4becd34fb2a389ccd68cd3adea.jpg","objectId":1276}],"attachmentSize":2,"tab":"营地区,停车区","latitude":36.6706,"location":"山东省济南市历下区舜华西路","id":1276,"time":"08/29 15:45","content":"","praise":"0","longitude":117.133,"discuss":"0"},{"attachments":[{"attachmentPath":"/img/pic/roadBookJournal/f8e1a548cb6841a0a3665ab91ecd704d.jpeg","objectId":1275},{"attachmentPath":"/img/pic/roadBookJournal/2243d4328efa47cca41f82fd569f5b8b.jpeg","objectId":1275}],"attachmentSize":2,"tab":"营地区,停车区","latitude":36.6706,"location":"山东省济南市历下区舜华西路","id":1275,"time":"08/29 15:44","content":"","praise":"0","longitude":117.133,"discuss":"0"}]
             */

            private boolean hasPrePage;
            private int startRow;
            private int offset;
            private boolean lastPage;
            private int prePage;
            private boolean hasNextPage;
            private int nextPage;
            private int endRow;
            private int totalCount;
            private boolean firstPage;
            private int totalPages;
            private int limit;
            private int page;
            private List<Integer> slider;
            private List<ItemsBean> items;

            public boolean isHasPrePage() {
                return hasPrePage;
            }

            public void setHasPrePage(boolean hasPrePage) {
                this.hasPrePage = hasPrePage;
            }

            public int getStartRow() {
                return startRow;
            }

            public void setStartRow(int startRow) {
                this.startRow = startRow;
            }

            public int getOffset() {
                return offset;
            }

            public void setOffset(int offset) {
                this.offset = offset;
            }

            public boolean isLastPage() {
                return lastPage;
            }

            public void setLastPage(boolean lastPage) {
                this.lastPage = lastPage;
            }

            public int getPrePage() {
                return prePage;
            }

            public void setPrePage(int prePage) {
                this.prePage = prePage;
            }

            public boolean isHasNextPage() {
                return hasNextPage;
            }

            public void setHasNextPage(boolean hasNextPage) {
                this.hasNextPage = hasNextPage;
            }

            public int getNextPage() {
                return nextPage;
            }

            public void setNextPage(int nextPage) {
                this.nextPage = nextPage;
            }

            public int getEndRow() {
                return endRow;
            }

            public void setEndRow(int endRow) {
                this.endRow = endRow;
            }

            public int getTotalCount() {
                return totalCount;
            }

            public void setTotalCount(int totalCount) {
                this.totalCount = totalCount;
            }

            public boolean isFirstPage() {
                return firstPage;
            }

            public void setFirstPage(boolean firstPage) {
                this.firstPage = firstPage;
            }

            public int getTotalPages() {
                return totalPages;
            }

            public void setTotalPages(int totalPages) {
                this.totalPages = totalPages;
            }

            public int getLimit() {
                return limit;
            }

            public void setLimit(int limit) {
                this.limit = limit;
            }

            public int getPage() {
                return page;
            }

            public void setPage(int page) {
                this.page = page;
            }

            public List<Integer> getSlider() {
                return slider;
            }

            public void setSlider(List<Integer> slider) {
                this.slider = slider;
            }

            public List<ItemsBean> getItems() {
                return items;
            }

            public void setItems(List<ItemsBean> items) {
                this.items = items;
            }

            public static class ItemsBean {
                /**
                 * attachments : [{"attachmentPath":"/img/pic/roadBookJournal/2dbe0e7c9f0144a6869379bfd7bb28f9.jpg","objectId":1276},{"attachmentPath":"/img/pic/roadBookJournal/ac523e4becd34fb2a389ccd68cd3adea.jpg","objectId":1276}]
                 * attachmentSize : 2
                 * tab : 营地区,停车区
                 * latitude : 36.6706
                 * location : 山东省济南市历下区舜华西路
                 * id : 1276
                 * time : 08/29 15:45
                 * content :
                 * praise : 0
                 * longitude : 117.133
                 * discuss : 0
                 */

                private int attachmentSize;
                private String tab;
                private double latitude;
                private String location;
                private int id;
                private String time;
                private String content;
                private String praise;
                private double longitude;
                private String discuss;
                private List<AttachmentsBean> attachments;

                public int getAttachmentSize() {
                    return attachmentSize;
                }

                public void setAttachmentSize(int attachmentSize) {
                    this.attachmentSize = attachmentSize;
                }

                public String getTab() {
                    return tab;
                }

                public void setTab(String tab) {
                    this.tab = tab;
                }

                public double getLatitude() {
                    return latitude;
                }

                public void setLatitude(double latitude) {
                    this.latitude = latitude;
                }

                public String getLocation() {
                    return location;
                }

                public void setLocation(String location) {
                    this.location = location;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getTime() {
                    return time;
                }

                public void setTime(String time) {
                    this.time = time;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public String getPraise() {
                    return praise;
                }

                public void setPraise(String praise) {
                    this.praise = praise;
                }

                public double getLongitude() {
                    return longitude;
                }

                public void setLongitude(double longitude) {
                    this.longitude = longitude;
                }

                public String getDiscuss() {
                    return discuss;
                }

                public void setDiscuss(String discuss) {
                    this.discuss = discuss;
                }

                public List<AttachmentsBean> getAttachments() {
                    return attachments;
                }

                public void setAttachments(List<AttachmentsBean> attachments) {
                    this.attachments = attachments;
                }

                public static class AttachmentsBean {
                    /**
                     * attachmentPath : /img/pic/roadBookJournal/2dbe0e7c9f0144a6869379bfd7bb28f9.jpg
                     * objectId : 1276
                     */

                    private String attachmentPath;
                    private int objectId;

                    public String getAttachmentPath() {
                        return attachmentPath;
                    }

                    public void setAttachmentPath(String attachmentPath) {
                        this.attachmentPath = attachmentPath;
                    }

                    public int getObjectId() {
                        return objectId;
                    }

                    public void setObjectId(int objectId) {
                        this.objectId = objectId;
                    }
                }
            }
        }

        public static class TrackInfoListBean {
            /**
             * path : [{"latitude":36.670488,"longitude":117.132564},{"latitude":36.670488,"longitude":117.132564},{"latitude":36.670488,"longitude":117.132564},{"latitude":36.670433,"longitude":117.132563},{"latitude":36.670433,"longitude":117.132563},{"latitude":36.670433,"longitude":117.132563},{"latitude":36.670464,"longitude":117.132525},{"latitude":36.670464,"longitude":117.132525},{"latitude":36.670471,"longitude":117.132494},{"latitude":36.670452,"longitude":117.13246},{"latitude":36.670484,"longitude":117.132429},{"latitude":36.670484,"longitude":117.132429},{"latitude":36.670399,"longitude":117.132496},{"latitude":36.670399,"longitude":117.132496},{"latitude":36.670445,"longitude":117.132495},{"latitude":36.670444,"longitude":117.132466},{"latitude":36.670444,"longitude":117.132466},{"latitude":36.670473,"longitude":117.132517},{"latitude":36.670476,"longitude":117.132509},{"latitude":36.670476,"longitude":117.132509},{"latitude":36.670481,"longitude":117.132508},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497},{"latitude":36.670492,"longitude":117.132497}]
             * distance : 1.7Km
             * id : 418
             */

            private String distance;
            private int id;
            private List<PathBean> path;

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public List<PathBean> getPath() {
                return path;
            }

            public void setPath(List<PathBean> path) {
                this.path = path;
            }

            public static class PathBean {
                /**
                 * latitude : 36.670488
                 * longitude : 117.132564
                 */

                private double latitude;
                private double longitude;

                public double getLatitude() {
                    return latitude;
                }

                public void setLatitude(double latitude) {
                    this.latitude = latitude;
                }

                public double getLongitude() {
                    return longitude;
                }

                public void setLongitude(double longitude) {
                    this.longitude = longitude;
                }
            }
        }
    }
}
